import axios from "axios"
const root = "http://localhost:8080/api"

const url = {
    getCookie: root + "/user/getCookie",
    showCookie: root + "/user/cookie",
}

const musicApi = {
    getCookie(params){
        return axios.get(url.getCookie,{params})
    },
    showCookie(params){
        return axios.get(url.showCookie,{params})
    },
}

export default musicApi